package	com.sdry.service.impl.jyy.unpack;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sdry.mapper.jyy.unpack.JingJianUnpackingMapper;
import com.sdry.service.jyy.unpack.JingjianUnpackingService;
import com.sdry.web.controller.jyy.unpack.JyyInfoGood;
/**
 *
 *@ClassName: UnpackingService
 *@Description: 
 *@Author jyy
 *@Date 2019-08-20 15:57:31
 *@version 1.0
*/
@Service
@Transactional(rollbackFor = Exception.class)
public class JingJianUnpackingServiceImpl implements JingjianUnpackingService {
	@Resource JingJianUnpackingMapper jingJianUnpackingMapper;

	/**
	 * 条件查询良品库存
	 * @param customerId
	 * @return
	 */
	@Override
	public List<JyyInfoGood> selectPageGoodOnly(JyyInfoGood jyyInfoGood) {
		return jingJianUnpackingMapper.selectPageGoodOnly(jyyInfoGood);
	}
	/**
	 * 条件统计良品库存
	 * @param customerId
	 * @return
	 */
	@Override
	public Integer selectCountGoodOnly(JyyInfoGood jyyInfoGood) {
		return jingJianUnpackingMapper.selectCountGoodOnly(jyyInfoGood);
	}
}
